<template>
	<view>
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad(){
			var src ='https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1cee654c64d14fce&redirect_uri=http%3a%2f%2fhaimiantv.cn%2fpages%2findex%2findex&response_type=code&scope=snsapi_userinfo#wechat_redirect'
			// var src ='https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1cee654c64d14fce&redirect_uri=http%3a%2f%2flocalhost:8000%2fpages%2findex%2findex&response_type=code&scope=snsapi_userinfo#wechat_redirect'
				this.src = src
			// #ifndef APP-PLUS

			location.href=this.src

			// #endif
			console.log(1)
			console.log(src)
		},
		methods: {

		}
	}
</script>

<style>

</style>
